define(function(require, exports, module) {
	"use strict";
	var chioceAll = require("./chioceAll");

	mui("body").on("tap", "#mui-reset-product", function() {
		chioceAll.muiRest();
	});
	mui("body").on("tap", "#mui-sure", function() {
		chioceAll.muiSure();
	});
	/*选择客户*/
	mui("body").on("tap", ".pop-tab-contstate li", function() {
		chioceAll.muiSure();
	});
	mui("body").on("tap", "#sortListShow>li", function() {
		chioceAll.muiSure();
	});

	//选择供应商页面
	mui("body").on("tap", ".pop-tab-Supplier1 li", function() {
		chioceAll.muiSure();
	});
	mui("body").on("tap", ".pop-tab-Supplier2 li", function() {
		chioceAll.muiSure();
	});
	/**/

	/*a链接跳转问题*/
	mui('#mui-list').on('tap', 'a', function() {
		document.location.href = this.href + "?dd_nav_bgcolor=FFFF943E";
	});
	//编辑
	mui('#sub-btn').on('tap', 'a', function() {
		document.location.href = this.href + "?dd_nav_bgcolor=FFFF943E";
	});
	mui('#addNewSupplier').on('tap', 'a', function() {
		document.location.href = this.href + "?dd_nav_bgcolor=FFFF943E";
	});
	//选择供应商
	mui('#supplier-name').on('tap', 'a', function() {
		document.location.href = this.href + "?dd_nav_bgcolor=FFFF943E";
	});
	//选择负责人
	mui('#staff-Client').on('tap', 'a', function() {
		document.location.href = this.href + "?dd_nav_bgcolor=FFFF943E";
	});
	//选择客户分类
	mui('#client-type').on('tap', 'a', function() {
		document.location.href = this.href + "?dd_nav_bgcolor=FFFF943E";
	});

});